package com.jiutong.meipengdai.ui.fragments;

import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.Button;

import com.jiutong.meipengdai.R;
import com.jiutong.meipengdai.base.BaseFragment;
import com.jiutong.meipengdai.ui.activitys.GuideActivity;

/**
 * Created by suxi on 2017/6/19.
 */

public class EntryFragment extends BaseFragment implements View.OnClickListener {
    @Override
    protected int getLayoutResouceId() {
        return R.layout.fragment_guide;
    }

    @Override
    protected void initView() {
        super.initView();
        Button btnEntry = findViewById(R.id.btn_entry);
        btnEntry.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        GuideActivity activity = (GuideActivity) getActivity();
        activity.entryApp();
    }
}
